import React from "react";
import MDEditor from '@uiw/react-md-editor';
import "./Note.css";
import "./MarkdownEditor.css";

export default function MarkdownEditor({ value, onChange }) {

  return (
    <div className="NoteContent-content edit_box" id="md-editor">
      <MDEditor
        value={value}
        onChange={onChange}
        height="100%"
      />
    </div>
  );
}
